package com.jcfk.system.dao;

import com.jcfk.common.business.dao.BaseDao;
import com.jcfk.common.web.domain.DataPage;
import com.jcfk.system.domain.dto.SysDictionaryItemDTO;
import com.jcfk.system.domain.po.SysDictionary;
import com.jcfk.system.domain.po.SysDictionaryItem;
import com.jcfk.system.domain.query.SysDictionaryItemQuery;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * 字典项 数据访问
 */
@Repository
public interface SysDictionaryItemDao extends BaseDao<SysDictionaryItem> {
    /**
     * 分页查询
     * @param page
     * @param query
     * @return
     */
    DataPage<SysDictionaryItemDTO> queryByPage(@Param("page") DataPage<SysDictionaryItemDTO> page, @Param("query") SysDictionaryItemQuery query);
}
